/*
* Copyright© 2018 Shanxi Lu'an Taihang Laihui Net Tech co.,LTD.
*/
package com.laihuichuxing.netty.common.core.exception;

/**
 * Description: 异常类
 *
 * @author YangGuang
 * @since: 1.0
 * Create Date Time: 2018/7/4 16:52
 * Update Date Time:
 * @see
 */
public class ErrorCodeException extends RuntimeException{

    private static final long serialVersionUID = 4143519479094905222L;

    /**
     * 错误代码
     */
    private final int errorCode;

    public int getErrorCode() {
        return errorCode;
    }

    public ErrorCodeException(int errorCode){
        this.errorCode = errorCode;
    }
}
